//
//  NSMutableAttributedString+ATKit.h
//  FDLive
//
//  Created by CoderLT on 2017/8/7.
//  Copyright © 2017年 FDLive. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSAttributedString (ATKit)
+ (instancetype)attractment:(UIImage *)image;
+ (instancetype)attractment:(UIImage *)image bounds:(CGRect)bounds;
@end

@interface NSMutableAttributedString (ATKit)
- (void)appendIcon:(UIImage *)image;
- (void)appendIcon:(UIImage *)image bounds:(CGRect)bounds;
- (void)appendString:(NSString *)string attribute:(nullable NSDictionary<NSString *, id> *)attribute;
@end

NS_ASSUME_NONNULL_END
